package com.mosai.alignpro.entity;

import com.mosai.alignpro.view.DiagnosisView;

import java.io.Serializable;

/**
 * Created by Rays on 2020/3/24.
 */
public final class RnDiagnosisListParam implements Serializable {

    private int index;
    private DoctorInfo doctorInfo; // 医生信息，如果不为null，则表示当前是这个医生在查看
    private LastParam lastParam;
    private ListData listData;
    private HttpHeader httpHeader;
    private PatientInfo patientInfo; // 病人信息，如果不为null，则表示看这个病人的图片列表
    private boolean centerInside; // true: 图片缩小在view中居中显示，false: 图片放大填充满view居中显示
    private boolean isCanConfirm; // 是否显示确认按钮

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public DoctorInfo getDoctorInfo() {
        return doctorInfo;
    }

    public void setDoctorInfo(DoctorInfo doctorInfo) {
        this.doctorInfo = doctorInfo;
    }

    public LastParam getLastParam() {
        return lastParam;
    }

    public void setLastParam(LastParam lastParam) {
        this.lastParam = lastParam;
    }

    public ListData getListData() {
        return listData;
    }

    public void setListData(ListData listData) {
        this.listData = listData;
    }

    public HttpHeader getHttpHeader() {
        return httpHeader;
    }

    public void setHttpHeader(HttpHeader httpHeader) {
        this.httpHeader = httpHeader;
    }

    public PatientInfo getPatientInfo() {
        return patientInfo;
    }

    public void setPatientInfo(PatientInfo patientInfo) {
        this.patientInfo = patientInfo;
    }

    public boolean isCenterInside() {
        return centerInside;
    }

    public void setCenterInside(boolean centerInside) {
        this.centerInside = centerInside;
        DiagnosisView.setCenterInside(centerInside);
    }

    public boolean isCanConfirm() {
        return isCanConfirm;
    }

    public void setCanConfirm(boolean canConfirm) {
        isCanConfirm = canConfirm;
    }
}
